package Behaviors.Arbitrators;
import Behaviors.Schemas.Behavior;
import Robot.*;
import Utils.*;

/**
 *
 * @author alejo
 */
public abstract class ArbitratorNew extends Behavior{
    public boolean enabled = true;
    private Behavior[] behaviors;
    
    public ArbitratorNew(String name, Behavior [] behaviors) {
        super(name);
        this.behaviors = behaviors;
    }

    public ArbitratorNew(String name, Behavior behavior) {
        
        super(name);
        behaviors = new Behavior[1];
        behaviors[0] = behavior;
    }

    public Behavior[] getBehaviors() {
        return behaviors;
    }

    public void setBehaviors(Behavior[] behaviors) {
        this.behaviors = behaviors;
    }
}
